package com.powernode;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @Description:
 * @Author: Tong Ziyu
 * @Date: 2025/2/6 14:47
 */
// 开启注解式缓存(默认使用的缓存中间件是redis)
@EnableCaching
@SpringBootApplication
@EnableDiscoveryClient // 开启服务发现
public class ProductServiceApplication {

    public static void main(String[] args) {

        SpringApplication.run(ProductServiceApplication.class, args);
    }
}
